//
//  MBProgressHUD+Http.h
//  TaskManager
//
//  Created by Sun on 2019/3/11.
//  Copyright © 2019 Sun. All rights reserved.
//

#import "MBProgressHUD.h"

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (Http)

/**
 秀 HUD
 
 @param message 显示的字
 @param activity 显示菊花
 */
+ (void)leShowHUDWithMessage:(NSString *)message activity:(BOOL)activity;

/**
 请求成功调用
 
 @param view 需要展示的view
 @param message 描述
 */
+ (void)leShowSuccessHUDAddedTo:(UIView *)view message:(NSString *)message;

+ (void)leShowSuccessHUDAddedTo:(UIView *)view message:(NSString *)message delayOperation:(void(^)(void))operation;

/**
 请求失败调用
 
 @param view 需要展示的view
 @param message 描述
 */
+ (void)leShowFailedHUD:(UIView *)view message:(NSString *)message;

/**
 隐藏hud
 */
+ (void)hidenHUD;

@end

NS_ASSUME_NONNULL_END
